package com.yunhuajinfu.entity;

import org.json.*;

import java.io.Serializable;


public class BorrowList implements Serializable {
    //1：可投资；2：已结束
    private String endStart;
    //可投天数or月数
    private String borrowTimeLimit;
    //1：天标；2：月标
    private String isDay;
    //标题
    private String borrowTitle;
    //标Id"
    private String eid;
    //已融金额
    private String tenderSum;
    //起投金额
    private String minAmount;
    //标总金额
    private String borrowSum;
    //允许投标时间
    private String allowTenderTime;
    //年利率"
    private String annualInterestRate;

    public String getInterestGrowth() {
        return interestGrowth;
    }

    public void setInterestGrowth(String interestGrowth) {
        this.interestGrowth = interestGrowth;
    }

    //
    private String interestGrowth;   //加息


    public BorrowList() {

    }

    public BorrowList(JSONObject json) {

        this.endStart = json.optString("endStart");
        this.borrowTimeLimit = json.optString("borrowTimeLimit");
        this.isDay = json.optString("isDay");
        this.borrowTitle = json.optString("borrowTitle");
        this.eid = json.optString("eid");
        this.tenderSum = json.optString("tenderSum");
        this.minAmount = json.optString("minAmount");
        this.borrowSum = json.optString("borrowSum");
        this.allowTenderTime = json.optString("allowTenderTime");
        this.annualInterestRate = json.optString("annualInterestRate");
        this.interestGrowth = json.optString("interestGrowth");

    }

    public String getEndStart() {
        return this.endStart;
    }

    public void setEndStart(String endStart) {
        this.endStart = endStart;
    }

    public String getBorrowTimeLimit() {
        return this.borrowTimeLimit;
    }

    public void setBorrowTimeLimit(String borrowTimeLimit) {
        this.borrowTimeLimit = borrowTimeLimit;
    }

    public String getIsDay() {
        return this.isDay;
    }

    public void setIsDay(String isDay) {
        this.isDay = isDay;
    }

    public String getBorrowTitle() {
        return this.borrowTitle;
    }

    public void setBorrowTitle(String borrowTitle) {
        this.borrowTitle = borrowTitle;
    }

    public String getEid() {
        return this.eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getTenderSum() {
        return this.tenderSum;
    }

    public void setTenderSum(String tenderSum) {
        this.tenderSum = tenderSum;
    }

    public String getMinAmount() {
        return this.minAmount;
    }

    public void setMinAmount(String minAmount) {
        this.minAmount = minAmount;
    }

    public String getBorrowSum() {
        return this.borrowSum;
    }

    public void setBorrowSum(String borrowSum) {
        this.borrowSum = borrowSum;
    }

    public String getAllowTenderTime() {
        return this.allowTenderTime;
    }

    public void setAllowTenderTime(String allowTenderTime) {
        this.allowTenderTime = allowTenderTime;
    }

    public String getAnnualInterestRate() {
        return this.annualInterestRate;
    }

    public void setAnnualInterestRate(String annualInterestRate) {
        this.annualInterestRate = annualInterestRate;
    }


}
